
<table>
	<tr>
		<td>
			<form name="detailsform" method="post" onSubmit="return OnSubmitForm5();">
			<div id="content2">
				<?php $row=$details->row();?>
				<h3><a href="#section1">ACCI eXtreme Information System</a></h3>
				<div>
				<table class="centeredtable">
					<tr><td width="130"></td><td width="200"></td></tr>
					<tr><td>Administrator:</td><td><?php echo $row->manager;?></td></tr>
					<tr><td>Position:</td><td><?php echo $row->position;?></td></tr>
					<tr><td>Dormitory:</td><td><?php echo $row->dorm_name;?></td></tr>
				</table>
				</div>
				<h3><a href="#section2">Dormitory Details</a></h3>
				<div>
				<table class="centeredtable">
					<tr><td width="130"></td><td width="200"></td></tr>
					<tr><td>Dormitory for:</td><td><?php echo $row->dorm_for;?></td></tr>
					<tr><td>Dormitory Capacity:</td><td><?php echo $row->capacity;?></td></tr>
					<tr><td>Location:</td><td><?php echo $row->location;?></td></tr>
				</table>
				</div>
				<h3><a href="#section3">Other Details</a></h3>
				<div>
				<table class="centeredtable">
					<tr><td width="130"></td><td width="200"></td></tr>
					<tr><td colspan="2" class="centeredtext">Noted by</td></tr>
					<tr><td colspan="2" class="centeredtext"></td></tr>
					<tr><td>Name:</td><td><?php echo $row->name1;?></td></tr>
					<tr><td>Position:</td><td><?php echo $row->position1;?></td></tr>
					<tr><td>Name:</td><td><?php echo $row->name2;?></td></tr>
					<tr><td>Position:</td><td><?php echo $row->position2;?></td></tr>
				</table>
				</div>
			</div><!-- End content2 -->
				<br/>
				<input type="hidden" value="<?php $row->dorm_name;?>" name="dorm_name"/>
				<input type="submit" value="Edit Details" class="shortobject" onClick="document.pressed=this.value"/>
			</form>
		</td>
		
		<td>
			<div id="navigation2">
				<h3><a href="#section1">Privileges</a></h3>
				<div>
					]-->  Create New Database<br/>
					<a href="<?php echo base_url();?>index.php/adminPageController/generateReportTally/">]-->  Generate List of Residents</a><br/>
					<a href="<?php echo base_url();?>index.php/adminPageController/generateResidentList/">]-->  Generate Report for Tallies</a><br/>
				</div>
			</div>
		</td>
	</tr>
</table>
